<?php
    $config = require('../application/Common/Conf/config.php');

    return array(
        'default' => array(
            'hostname' => $config['DB_HOST'] ? $config['DB_HOST'] : 'localhost', //数据库地址
            'database' => 'duobao', //数据库名
            'username' => $config['DB_USER'] ? $config['DB_USER'] : 'bbt', //数据库账户
            'password' => $config['DB_PWD'] ? $config['DB_PWD'] : 'H4DuPnBNPn1G',      //数据库密码
            'tablepre' => 'go_',
            'charset' => 'utf8',
            'type' => 'mysql',
            'debug' => true,
            'pconnect' => 0,
            'autoconnect' => 0
        ),
    );
?>